<template>
  <div>
    用户名:
    <input v-model="userId"/>
    <br>
    密码:
    <input type="password" v-model="pwd">
  </div>
</template>

<script>
export default {
  data(){
    return{
      userId: '',
      pwd: ''
    }
  },
  beforeCreate(){
    console.log('beforeCreate');
  },
  created(){
    console.log('created');
  },
  beforeMount(){
    console.log('beforeMount');
  },
  mounted(){
    console.log('mounted');
  },
  beforeUpdate(){
    console.log('beforeUpdate');
  },
  updated(){
    console.log('updated');
  },
  beforeDestroy(){
    console.log('beforeDestroy');
  },
  destroyed(){
    console.log('destroyed');
  }
}
</script>

<style>

</style>